package com.fpt.group3.form;

/**
 * trust region transfer Object.
 * @author John Tran
 */
public class TrustRegion {

    /**
     * constructor.
     */
    public TrustRegion() {
    }

    /**
     * constructor with field.
     * @param countryIn country
     * @param nameIn name
     * @param descriptionIn description
     * @param isActiveIn isActive
     */
    public TrustRegion(final int countryIn, final String nameIn,
            final String descriptionIn,
            final String isActiveIn) {
        super();
        this.countryID = countryIn;
        this.name = nameIn;
        this.description = descriptionIn;
        this.isActive = isActiveIn;
    }

    /**
     * getId.
     * @return region ID
     */
    public final int getId() {
        return id;
    }

    /**
     * setId.
     * @param idIn set region ID
     */
    public final void setId(final int idIn) {
        this.id = idIn;
    }

    /**
     * getCountryID.
     * @return CountryID
     */
    public final int getCountryID() {
        return countryID;
    }

    /**
     * setCountryID.
     * @param country country
     */
    public final void setCountryID(final int country) {
        this.countryID = country;
    }

    /**
     * getName.
     * @return region name
     */
    public final String getName() {
        return name;
    }

    /**
     * setName.
     * @param nameIn region name
     */
    public final void setName(final String nameIn) {
        this.name = nameIn;
    }

    /**
     * getDescription.
     * @return region description
     */
    public final String getDescription() {
        return description;
    }

    /**
     * setDescription.
     * @param descriptionIn region description
     */
    public final void setDescription(final String descriptionIn) {
        this.description = descriptionIn;
    }

    /**
     * getIsActive.
     * @return region is active
     */
    public final String getIsActive() {
        return isActive;
    }

    /**
     * setIsActive.
     * @param isActiveIn isActive
     */
    public final void setIsActive(final String isActiveIn) {
        this.isActive = isActiveIn;
    }

    /**
     * getCountryName.
     * @return CountryName
     */
    public final String getCountryName() {
        return countryName;
    }

    /**
     * setCountryName.
     * @param countryNameIn countryName
     */
    public final void setCountryName(final String countryNameIn) {
        this.countryName = countryNameIn;
    }

    /**
     *  Override toString.
     *  @return region toString
     */
    @Override
    public final String toString() {
        return "TrustRegion [ID=" + getId() + ", Country=" + getCountryID()
                + ", Name=" + getName() + ", Description=" + getDescription()
                + ", isActive=" + getIsActive() + "]";
    }

    /**
     * region id.
     */
    private int id;
    /**
     * countryID.
     */
    private int countryID;
    /**
     * countryName.
     */
    private String countryName;
    /**
     * region name.
     */
    private String name;
    /**
     * region description.
     */
    private String description;
    /**
     * region isActive.
     */
    private String isActive;
}
